<?php
/**
 * ===============================================
 * 版权所有 2019-2050 青岛铁锤科技有限公司，并保留所有权利。
 * 网站地址: http://www.huaxianling.com
 * ===============================================
 * Author: Happy dong
 * Created Time: 2019-07-24 09:47
 *
 * Version: 2.0
 */

namespace App\Lib\Message;


use App\Lib\Contracts\FLMessage;
class Message implements FLMessage
{
	private $noticeFactory;
	public function __construct($noticeFactory)
	{
		$this->noticeFactory = $noticeFactory;
	}

	/**
	 * 发送消息内容
	 * @param $userIds
	 * @param $params
	 * @return mixed
	 */
	public function send($userIds,$params)
	{
		return $this->noticeFactory->sendNotice($userIds,$params);
	}
}